﻿using AnlianCommon.Common.Domains.SheepFarmHouse;
using AnlianCommon.Common.Domains.UserPermissions;
using AnlianCommon.Common.DTO;
using MediatR;

namespace AnlianCommon.API.Commands.Cottages
{
    public class CottageSearchCommand: IRequest<ResultPage<Cottage>>
    {
        /// <summary>
        /// 栋舍类型
        /// </summary>
        public string? CottageTypeId { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string? CottageName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? PersId { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
